package com.ruoyi.plus.pub.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.xss.Xss;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 系统配置对象 pub_config_plus
 *
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("pub_config_plus")
public class PubConfigPlus extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id")
    private Long id;

    /** 配置名称 */
    @Xss(message = "配置名称不允许包含脚本")
    @Excel(name = "配置名称")
    @TableField(value = "name")
    private String name;

    /** 状态 */
    @Excel(name = "状态")
    @TableField(value = "status")
    private String status;

    @Excel(name = "配置类型")
    @TableField(value = "config_mode")
    private String configMode;

    /** 配置代码 */
    @Xss(message = "配置代码不允许包含脚本")
    @Excel(name = "配置代码")
    @TableField(value = "config_key")
    private String configKey;

    /** 配置内容 */
    @Excel(name = "配置内容")
    @TableField(value = "config_value")
    private String configValue;


}
